﻿//JumbotCms_4.1 Final
using System;
using System.Data;
using System.Web;
using System.Web.UI;
using Jumbot.Common;
using Jumbot.DataOper;
using JumbotCms.API;
using JumbotCms.DataObject;

namespace JumbotCms.API
{
    public interface IModule
    {
        /// <summary>
        /// 生成内容页
        /// </summary>
        /// <param name="_ChannelId"></param>
        /// <param name="_ContentId"></param>
        /// <param name="_CurrentPage"></param>
        void CreateContent(DbOperHandler doh, string _ChannelId, string _ContentId, int _CurrentPage);
        /// <summary>
        /// 得到内容页
        /// </summary>
        /// <param name="Doh"></param>
        /// <param name="_ChannelId"></param>
        /// <param name="_ContentId"></param>
        /// <param name="_CurrentPage"></param>
        string GetContent(DbOperHandler doh, string _ChannelId, string _ContentId, int _CurrentPage);
        /// <summary>
        /// 删除内容页
        /// </summary>
        /// <param name="Doh"></param>
        /// <param name="_ChannelId"></param>
        /// <param name="_ContentId"></param>
        void DeleteContent(DbOperHandler doh, string _ChannelId, string _ContentId);
    }
}
